package mock.servicesdirectory.geography.business.businessimpl;

import java.util.List;

import mock.servicesdirectory.common.entities.TrustDistrict;
import mock.servicesdirectory.geography.business.businessinterface.TrustDistrictBo;
import mock.servicesdirectory.geography.dao.daointerface.TrustDistrictDao;

public class TrustDistrictBoImpl implements TrustDistrictBo {
	TrustDistrictDao trustDistrictDao;
	public TrustDistrictDao getTrustDistrictDao() {
		return trustDistrictDao;
	}

	public void setTrustDistrictDao(TrustDistrictDao trustDistrictDao) {
		this.trustDistrictDao = trustDistrictDao;
	}

	@Override
	public void addTrustDistrict(TrustDistrict trustDistrict) {
		trustDistrictDao.addTrustDistrict(trustDistrict);

	}

	@Override
	public List<TrustDistrict> listTrustDistrict() {
		return trustDistrictDao.listTrustDistrict();
	}

}
